#ifndef CLIENT_H
#define CLIENT_H

#include <QWidget>
#include "global_client.h"
#include "ui_client.h"

QT_BEGIN_NAMESPACE
namespace Ui {
class client;
}
QT_END_NAMESPACE

class client : public QWidget
{
    Q_OBJECT

public:
    client(QWidget *parent = nullptr);
    ~client();
private slots:
    void on_toolButton_login_clicked();

    void on_toolButton_register_clicked();

    void on_toolButton_return_clicked();

    void on_pushButton_confirmLogin_clicked();

    void on_toolButton_confirm_clicked();

    void on_pushButton_clicked();

private:
    Ui::client *ui;

    User generateUser(QString userName, QString userPassword); // 生成用户信息
};
#endif // CLIENT_H
